#!/bin/bash
# declare STRING variable
START="Thread test script started"
END="Thread test script over"

echo $START

rm -f result.txt
touch result.txt

./OS_Threads -s 0 >> result.txt
./OS_Threads -s 1 >> result.txt
./OS_Threads -s 2 >> result.txt
./OS_Threads -s 3 >> result.txt
./OS_Threads -s 5 >> result.txt
./OS_Threads -r >> result.txt



echo $END